package com.etone.smartAudit.vo.admin;

import com.etone.smartAudit.vo.serviceExpert.ServiceExpertBaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author: sovy
 * @date: 2020-06-07 12:48:51
 * @description:
 */
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@Data
@ApiModel(description = "管理员列表")
public class AdminListVO extends AdminVO implements Serializable {

    @ApiModelProperty("角色名称")
    private String roleName;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private String createAdminName;

    @ApiModelProperty("公司|事务所")
    private List<ServiceExpertBaseVO> serviceExperts;
}